﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using Wedn.Net.Utility;

namespace Wedn.Net.Model.View
{
    /// <summary>
    /// 登录模型
    /// </summary>
    public class LoginUser
    {
        /// <summary>
        /// 登录用户名
        /// </summary>
        [Required]
        //[Display(Name = CultureHelper.GetCultureString("Username"))]
        public string Username { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        [Required]
        [DataType(DataType.Password)]
        //[Display(Name = CultureHelper.GetCultureString("Password"))]
        public string Password { get; set; }

        /// <summary>
        /// 是否记住登录
        /// </summary>
        public bool IsChecked { get; set; }

        /// <summary>
        /// 跳转地址
        /// </summary>
        public string Redirect { get; set; }
    }
}